package com.szyt.basicframe.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.szyt.basicframe.common.BaseTableEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author mx
 * @since 2025-06-29
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_user")
@ApiModel(value = "SysUser对象", description = "")
public class SysUser extends BaseTableEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("登录名")
    @TableField("user_name")
    private String userName;

    @ApiModelProperty("昵称")
    @TableField("nick_name")
    private String nickName;

    @ApiModelProperty("头像文件路径")
    @TableField("icon")
    private String icon;

    @ApiModelProperty("密码")
    @TableField("password")
    private String password;

    @ApiModelProperty("用户性别（0男，1女，2未知）")
    @TableField("sex")
    private String sex;

    @ApiModelProperty("手机号码")
    @TableField("tel")
    private String tel;

    @ApiModelProperty("邮箱地址")
    @TableField("email")
    private String email;

    @ApiModelProperty("是否锁定")
    @TableField("locked")
    private Boolean locked;

    @ApiModelProperty("位置信息")
    @TableField("location")
    private String location;

    @TableField("remarks")
    private String remarks;
}
